hikey: remove delay after eMMC initialized
authorHaojian Zhuang <[email protected]>
Wed, 21 Nov 2018 01:23:20 +0000 (09:23 +0800)
committerHaojian Zhuang <[email protected]>
Mon, 26 Nov 2018 01:20:23 +0000 (09:20 +0800)
commit 386b14bf64124ebf0368eab33ef07603e0c3138a
Author: Haojian Zhuang <[email protected]>
Date:   Wed Nov 21 09:19:49 2018 +0800

    mmc: poll eMMC status after EXT_CSD command

    EXT_CSD command needs to access data from eMMC device. Add the
    operation of polling eMMC device status. Make sure the command is
    finished.

Signed-off-by: Haojian Zhuang <[email protected]>
A hacked delay time can't fit each eMMC device. Since the above commit
enables the polling operation, remove the hacked delay time now.

Signed-off-by: Haojian Zhuang <[email protected]>
plat/hisilicon/hikey/hikey_bl2_setup.c

index d42afe0def77e8a2b13b2fb25166d81a4579913b..125d6654c902d4fe8e51b763fb375494afd219e4 100644 (file)
@@ -336,7 +336,6 @@ void bl2_platform_setup(void)
        params.flags = MMC_FLAG_CMD23;
        info.mmc_dev_type = MMC_IS_EMMC;
        dw_mmc_init(&params, &info);
-       mdelay(20);
 
        hikey_io_setup();
 }